package com.bdk.middle.orchestration.core.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("w_category")
@AllArgsConstructor
@NoArgsConstructor
public class CategoryEntity implements Serializable {

    private static final long serialVersionUID=1L;
    /**
     * 主键 id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 父目录id
     */
    @TableField("category_id")
    private String categoryId;
    /**
     * 目录编码
     */
    @TableField("code")
    private String code;

    /**
     * 目录值
     */
    @TableField("category_value")
    private String categoryValue;


    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;

    /**
     * 修改时间
     */
    @TableField("modifi_date")
    private Date modifiDate;

    /**
     * 创建者
     */
    @TableField("creator")
    private String creator;

    /**
     * 修改者
     */
    @TableField("modifier")
    private String modifier;
    /**
     * 逻辑删除
     */

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;


}
